package com.basic.modules.ykf.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.basic.common.annotation.DictParam;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 文库管理
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-05-13 18:21:12
 */
@Data
@TableName("ykf_library_manage")
public class YkfLibraryManageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * keyword
	 */
	@TableField(exist = false)
	private String keyword;

	/**
	 *
	 */
	@TableId
	private Long libraryManageId;
	/**
	 * 标题
	 */
	private String title;
	/**
	 * 关键字
	 */
	private String keyW;
	/**
	 * 分类 字典 articleType
	 */
	private String articleType;
	/**
	 * 分类名称
	 */
	@DictParam(field = "articleType", targetField = "articleTypeName", dictType = "articleType")
	private String articleTypeName;
	/**
	 * 授权部门 字典 department 编号逗号分割
	 */
	private String department;
	/**
	 * 授权部门名称 字典 department 编号逗号分割
	 */
	@DictParam(field = "department", targetField = "departmentName", dictType = "department")
	private String departmentName;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建者ID
	 */
	@TableField(fill = FieldFill.INSERT)
	private Long createUserId;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 创建人名称
	 */
	@DictParam(field = "createUserId", targetField = "createUserName", dictType = "flowerName")
	@TableField(fill = FieldFill.INSERT)
	private String createUserName;

}
